package com.cx.controller.lq;

import com.cx.constant.ConstantData;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

@Controller
@RequestMapping("logout")
public class LogoutController {
    public String Logout(HttpSession session){
        session.removeAttribute(ConstantData.SESSION_KEY);
        return "suceess";
    }
}
